package com.xebest.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xebest.web.mapper.write.XeVenPurchPayWriteMapper;
import com.xebest.web.model.XeVenPurchPayEntity;
import com.xebest.web.service.XeVenPurchPayService;

@Service
public class XeVenPurchPayServiceImpl implements XeVenPurchPayService {

    @Autowired
    private XeVenPurchPayWriteMapper purchPayOrderWriteMapper;

	@Override
	public int deleteXeVenPurchPayById(Integer id) {
		  
		return purchPayOrderWriteMapper.deleteXeVenPurchPayById(id);  
		
	}

	@Override
	public int insertXeVenPurchPay(XeVenPurchPayEntity record) {
		  
		return purchPayOrderWriteMapper.insert(record);  
		
	}

	@Override
	public int updateXeVenPurchPayById(XeVenPurchPayEntity record) {
		  
		return purchPayOrderWriteMapper.updateByPrimaryKey(record);  
		
	}
}
